package cn.mihoyo.org.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminDto {
    @NotBlank(message = "管理员不为空")
    private String username;
    @NotBlank(message = "管理员号码不为空")
    private String phone;
    @NotBlank(message = "管理员邮箱不为空")
    private String email;
    @NotBlank(message = "管理员密码不为空")
    private String password;
    @NotBlank(message = "管理员二次密码不为空")
    private String comfirmPassword;
}
